<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021/1/28
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
  <h1>文件上传</h1>
<form action="doUpload.jsp" method="post" enctype="multipart/form-data">
    <input type="text" name="sname" placeholder="姓名"/>
    <input type="tel" name="phone" placeholder="手机号"/>
    <input type="text" name="address" placeholder="address"/>
    <input type="text" name="qq" placeholder="qq"/>
    <p>
        身份证照片:<input type="file" name="idcardpic" accept="image/png"/>
    </p>
    <p>
        <input type="submit"/>
    </p>
</form>
</body>
</html>
